package Demo2;

public class Frog implements IAmphibious{
    @Override
    public void run() {
        System.out.println("青蛙在陆地上跑");
    }

    @Override
    public void swim() {
        System.out.println("青蛙在水里游");
    }
}
